using AutoMapper;
using BaseData.Domain;
using BaseData.ReadApi.Dto;

namespace BaseData.ReadApi
{
    public class MappingProfile:Profile
    {
        public MappingProfile()
        {
            CreateMap<UserInfo,ResUserOutput>();
            CreateMap<UserInfo,UserDetailOutput>();
            CreateMap<Role,RoleDetailOutput>();
            CreateMap<Permission,PermissionDetailOutput>();
        }
    }
}
